Page({
  data: {
    frequents: [
      {
        name_zh: '证件照制作',
        name_uy: 'كىنىشكە رەسىم',
        cover: getApp().ossConfig("ic_id_photo.png"),      
        path: '/pages/id-photo/id-photo',
        hot: true,
      },
      {
        name_zh: '一键抠图',
        name_uy: 'رەسىم كولاش',
        cover: getApp().ossConfig("ic_background_eraser.jpg"),
      }
    ],
    entrances: [
      {
        name_zh: '修复老图片',
        name_uy: 'رەڭ بېرىش',
        cover: getApp().ossConfig("ic_fix_old_pic.png"),
        path: '/pages/fix-old-pic/fix-old-pic',
        hot: true,
      },
      {
        name_zh: '人像动漫化',
        name_uy: 'كارتونلاشتۇرۇش',
        cover: getApp().ossConfig("ic_cartoonize.jpg"),
        path: '/pages/cartoonize/cartoonize'
      },
      {
        name_zh: '图片高清化',
        name_uy: 'ئېنىقلاشتۇرۇش',
        cover: getApp().ossConfig("ic_image_upscaler.png"),
      },
      {
        name_zh: '手持弹幕',
        name_uy: 'خەت چىراق',
        cover: getApp().ossConfig("ic_prompter.jpg"),
        path:'/pages/prompt/Prompt'
      },
      {
        name_zh: '聊天模拟',
        name_uy: 'پاراڭ خاتىرىسى',
        cover: getApp().ossConfig("ic_fakechat.png"),
      },
      {
        name_zh: '一键换脸',
        name_uy: 'چىراي يۆتكەش',
        cover: getApp().ossConfig("ic_face_swap.png"),
      },
      {
        name_zh:'替换天空',
        name_uy:'ئاسمان يۆتكەش',
        cover: getApp().ossConfig("ic_sky_swap.png"),
      },
      {
        name_zh:'头像生成',
        name_uy:'باش سۆرەت',
        cover: getApp().ossConfig("ic_avatar_generator.jpg"),
      },
      {
        //图片加水印
        name_zh:'图片加水印',
        name_uy:'بەلگە ئۇرۇش',
        cover: getApp().ossConfig("ic_water_mark.jpg"),
      },
      {
        name_zh:'图片压缩',
        name_uy:' ھەجىم تەڭشەش',
        cover: getApp().ossConfig("ic_image_resize.jpg"),
      },
      {
        name_zh:'色系替换',
        name_uy:'رەڭ يۆتكەش',
        cover: getApp().ossConfig('ic_color_changer.png'),
      },
      {
        name_zh:'长图制作',
        name_uy:'ئۇزۇن رەسىم',
        cover: getApp().ossConfig('ic_long_image.png'),     
      }
    ]
  },
  onLoad(query) {},
  error(e) {
    console.log(e.detail)
  }
})
